import axios from 'axios'
import { Toast } from 'vant'

const http = axios.create({
	baseURL: 'http://itfly.vip:8888'
})

http.interceptors.response.use(response => {
	return response
}, err => {
	Promise.reject(err)
	Toast('资源加载失败')
})
export default http